{{! corresponding files: calendar_events.php & calendar_events.json }}
<header class="page-header">
		<a class="returnlink current" href="{{www_path}}/calendar/"><div class="icon icon-arw-dwn"></div><!--icon--></a><h4 class="secondary-title">{{copy_add_an_event}}</h4>
		<h5 class="page-subtitle">{{copy_quickly_details}}</h5>
</header>

	<div class="pure-u-1">
		<form accept-charset="UTF-8" method="post" action="{{www_path}}/calendar/events/add/" name="add_event">
			<input type="hidden" name="doeventadd" value="makeitso" />

			<label for="event_date">{{label_date}}</label>
			<input type="text" id="event_date" name="event_date" class="required date" value="" placeholder="MM/DD/YYYY" />

			<label for="event_venue_name">{{label_venue}}</label>
			<input type="text" id="event_venue_name" name="event_venue_name" value="{{event_venue_name}}" placeholder="Start typing to search venues" class="autocomplete required" data-cash-endpoint-url="{{{www_path}}}/ajax/autocomplete/venues" />
			<input type="hidden" id="event_venue" name="event_venue" value="" />

			<p class="input-additional-info small fadedtext">{{copy_cant_find}}<a href="{{www_path}}/calendar/venues/add/" class="add-fulfillment-file lightboxed returntocurrentroute usecolor5">{{copy_add_new_venue}}</a></p>

			<label for="event_comment">{{label_comments}}</label>
			<textarea rows="3" id="event_comment" name="event_comment"></textarea>

			<label for="event_purchase_url">{{label_ticket_purchase}}</label>
			<input type="text" id="event_purchase_url" name="event_purchase_url" value="" placeholder="Ticket Link URL" />

			<div class="pure-u-1">
			<input type='checkbox' class='checkorradio' id="event_ispublished" name='event_ispublished' value='' checked='checked' /> <label class="checklabel" for="event_ispublished">{{label_published}}</label> <input type='checkbox' class='checkorradio' id="event_iscancelled" name='event_iscancelled' value='' /> <label class="checklabel" for="event_iscancelled">{{label_cancelled}}</label>
			</div><!--pure-->

			<button type="submit">{{copy_button_add_event}}</button>

		</form>
	</div><!--pure-->
